From: Giovanni Campagna Date: Mon, 26 Nov 2012 21:56:22 +0000 (+0100) Subject: StWidget: don't dispose the theme node when destroyed X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5366 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=14fd0eb73e50b154e05cc3dbc811e8d346441dc5;p=gnome-shell.git StWidget: don't dispose the theme node when destroyed Theme nodes are interned and shared with other widgets, so they cannot be disposed, otherwise we blow useful resources, and in particular we break the parent-child chain. https://bugzilla.gnome.org/show_bug.cgi?id=689029 --- diff --git a/src/st/st-widget.c b/src/st/st-widget.c index b1218d3fb..65de2722b 100644 --- a/src/st/st-widget.c +++ b/src/st/st-widget.c @@ -316,7 +316,6 @@ st_widget_dispose (GObject *gobject) if (priv->theme_node) { - g_object_run_dispose (G_OBJECT (priv->theme_node)); g_object_unref (priv->theme_node); priv->theme_node = NULL; }